﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets.models.world.vos {

    public class RewardItemVO {

        private var _itemType:String;
        private var _id:String;
        private var _roomId:String;
        private var _amount:String;
        private var _alreadyCollected:Boolean;// = false
        private var _selfDestructIn:int;// = 10
        private var _petType:String;

        public static const COLLECTION_ID:String = "collectionID";

        public function RewardItemVO():void{
        }
        public function get itemType():String{
            return (this._itemType);
        }
        public function set itemType(_arg1:String):void{
            this._itemType = _arg1;
        }
        public function get id():String{
            return (this._id);
        }
        public function set id(_arg1:String):void{
            this._id = _arg1;
        }
        public function get amount():String{
            return (this._amount);
        }
        public function set amount(_arg1:String):void{
            this._amount = _arg1;
        }
        public function get alreadyCollected():Boolean{
            return (this._alreadyCollected);
        }
        public function set alreadyCollected(_arg1:Boolean):void{
            this._alreadyCollected = _arg1;
        }
        public function get selfDestructIn():int{
            return (this._selfDestructIn);
        }
        public function set selfDestructIn(_arg1:int):void{
            this._selfDestructIn = _arg1;
        }
        public function get roomId():String{
            return (this._roomId);
        }
        public function set roomId(_arg1:String):void{
            this._roomId = _arg1;
        }
        public function get isCollectionItem():Boolean{
            return (!((this.id.indexOf(COLLECTION_ID) == -1)));
        }
        public function get petType():String{
            return (this._petType);
        }
        public function set petType(_arg1:String):void{
            this._petType = _arg1;
        }

    }
}//package net.wooga.pets.models.world.vos 
